

export default {
    namespaced:true,
    state:{
        token:'',
        name:''
    },
    mutations:{
        SETTOKEN(state,value){
            state.token = value;
        },
        REMOVETOKEN(state){
            state.token=''
        },
        SETNAME(state,value){
            state.name=value.mobile
            // console.log('setname',state.name);
        },
      
    }
}